package com.smartpro.mis.modular.system.dao;

import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.smartpro.mis.modular.system.model.Orders;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 订单 Mapper 接口
 * </p>
 *
 * @author mengiy
 * @since 2019-05-07
 */
public interface OrdersMapper extends BaseMapper<Orders> {

    List<Orders> selectOrdersList(@Param("startTime") String startTime, @Param("endTime") String endTime,@Param("start") int start, @Param("num") int num);


    List<Orders> getOrdersListByCompany(@Param("startTime")String startTime,  @Param("endTime")String endTime, @Param("belongToCompany") String belongToCompany ,@Param("start") int start, @Param("num") int num);


    List<Orders> selectListByPage(@Param("page") Pagination page, @Param("start") int start, @Param("num") int num);
}
